/**
 * 
 */
package com.axxc.jpa.entity;

import javax.persistence.Embedded;
import javax.persistence.Entity;
import javax.persistence.Table;

import org.springframework.beans.BeanUtils;

import com.axxc.jpa.vo.HumanVO;

/**
 * @ClassName: Human
 * @Description: TODO(这里用一句话描述这个类的作用)
 * @author 熊小川
 * @date 2018年5月12日 上午11:22:20
 */
@Entity
@Table(name = "t_human")
public class HumanEntity extends PersonEntity {
	private static final long serialVersionUID = 1L;

	public HumanVO toModel() {
		HumanVO human = new HumanVO();

		BeanUtils.copyProperties(this, human);
		return human;

	};
	
//	@Embedded
//	private AddressEntity addressEntity;
	
}
